home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Plus 2007
/
Programmer-Plus-2007.iso
/
Programming
/
XML Utilities
/
XML Writer 2.12
/
XML writer.exe
/
file0042.bin
/
helpfiles.js
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
JavaScript
|
2003-04-14
|
422 b
|
16 lines
// expands and hides text
// swaps images on expand
function expandIt(x) {
whichElement = eval(x);
whichImage = event.srcElement;
if (whichElement.style.display == "none") {
whichElement.style.display = "";
whichImage.src = "images/arrow_down.gif";
}
else {
whichElement.style.display = "none";
whichImage.src = "images/arrow_right.gif";
}
}